|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectraar.register.RARegister
raar.register.RAFetchRegister
public class RAFetchRegister
This class defines a register for which you can only get values that already exist, and which can be fetched COMPLETELY from an other register. In RAAR it is used to model process outputs. Once you have set the keys which should be in the register, it locks up and cannot be changed except using the copyFromRegister method.
| Field Summary |
|---|
| Fields inherited from class raar.register.RARegister |
|---|
initialObjectVector, nameVector, objectVector |
| Constructor Summary | |
|---|---|
RAFetchRegister()
Construct a new register |
|
RAFetchRegister(java.util.Vector names)
Construct a register which can contain values for keys (Strings) defined in the Vector. |
|
| Method Summary | |
|---|---|
void |
add(java.lang.String name,
RADataType dt)
This method is not supported; you may not add any new keys! |
void |
clearRegister(RARegister r)
Replace the complete content by null. |
void |
copyFromRegister(RARegister r)
Copy values from the specified Register into this Register, for all the keys (names) that exist in this Register. |
void |
set(java.lang.String name,
RADataType dt)
This method is not supported; you may never set a new value. |
void |
setNameVector(java.util.Vector names)
Set the keys this register can contain. |
java.lang.String |
toString()
|
| Methods inherited from class raar.register.RARegister |
|---|
accepts, clearRegister, get, getNameVector, getObjectVector, getType, nameExists, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RAFetchRegister()
public RAFetchRegister(java.util.Vector names)
| Method Detail |
|---|
public void setNameVector(java.util.Vector names)
public void add(java.lang.String name,
RADataType dt)
throws RAException
add in class RARegisterRAException
public void set(java.lang.String name,
RADataType dt)
throws RAException
set in class RARegisterRAException
public void copyFromRegister(RARegister r)
throws RAException
RAException
public void clearRegister(RARegister r)
throws RAException
RAExceptionpublic java.lang.String toString()
toString in class RARegister
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||